package com.premadefood.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName news
 */
@TableName(value ="news")
@Data
public class News implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 发送的作者
     */
    private String author;

    /**
     * 资讯标题
     */
    private String title;

    /**
     * 咨询内容
     */
    private String content;

    /**
     * 评论
     */
    private String comment;

    /**
     * 点赞数量
     */
    private Integer likeNum;

    /**
     * 
     */
    private Date createTime;

    /**
     * 
     */
    private Date updateTime;
    /**
     *
     */
    private Date visitTime;
    /**
     * 
     */
    @TableLogic
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}